import React from "react";
import { Route, IndexRoute } from "react-router";

import Dashboard from "../container/home/DashboardCtr.js"
import Main from "../component/home/Main.jsx";

const homeRouter = (
    <Route key="dashboard" path="dashboard" component={ Dashboard }>
        <IndexRoute component={ Main } />
    </Route>
);

export default homeRouter;